Skip to content

Conversation

@statonjr
Copy link

Returns Content-Type of 'vnd.collection+json' for API requests if client specifies 'Accept: vnd.collection+json'. Otherwise, send 'application/json'.

@mamund
Copy link

mamund commented Nov 23, 2013

cool. looks good. I'll merge this in and publish over the weekend.

Thanks.

@johnlim
Copy link

johnlim commented Jun 13, 2014

Where do you submit an errata for this book? The book mentions

wget -S  -O - http://www.youtypeitwepostit.com/api/

should return Content-Type: application/vnd.collection+json but it does not.

$ wget -S --header "Accept: vnd.collection+json" -O - http://www.youtypeitwepostit.com/api/

also returns Content-Type: application/json
Why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants